//
//  BCProjectDetailsBottomView.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/11/23.
//  Copyright © 2018年 guoshikeji. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "BCBottomButton.h"

@class BCProjectDetailData;

@protocol BCProjectDetailsBottomViewDelegate;

@interface BCProjectDetailsBottomCountdownView : UIView



+ (CGFloat)defaultHeight;

@end

@interface BCProjectDetailsBottomView : UIView

/**
 *isPreBuy 是否是预购界面
 */
@property (nonatomic, assign) BOOL isPreBuy;

/**
 *BCProjectDetailData
 */
@property (nonatomic, weak) BCProjectDetailData *projectData;

/**
 * BCProjectDetailsBottomViewDelegate
 */
@property (nonatomic, weak) id <BCProjectDetailsBottomViewDelegate> delegate;

/**
 *BCProjectDetailsBottomCountdownView
 */
@property (nonatomic, strong) BCProjectDetailsBottomCountdownView *countdownView;


+ (CGFloat)defaultHeight;

@end

@protocol BCProjectDetailsBottomViewDelegate <NSObject>
//立即购买的代理
- (void)projectDetailsBottomViewToBuyNowAction;
//预购下一轮的代理
- (void)projectDetailsBottomViewToPreBuyAction;
//立即预购的代理
- (void)projectDetailsBottomViewToPreBuyNowAction;

@end
